package sh;

import sh.map.HashMap;

public class Test {
    public static void main(String[] args) {
//        HashMap<Object, Object> objectObjectHashMap = new HashMap<>();
//        objectObjectHashMap.put("sh", "石浩");
//        objectObjectHashMap.put("sh1", "石浩");
//        objectObjectHashMap.put("sh2", "石浩");
//        objectObjectHashMap.put("sh3", "石浩");
//        objectObjectHashMap.put("sh4", "石浩");
//        objectObjectHashMap.put("sh5", "石浩");
//        Set<Map.Entry<Object, Object>> entries = objectObjectHashMap.entrySet();
//        for (Map.Entry<Object, Object> entry : entries) {
//            System.out.println(entry);
//        }
//        java.util.HashMap

        HashMap<Object, Object> objectObjectHashMap = new HashMap<>();
        objectObjectHashMap.put("sh", "石浩11");
        objectObjectHashMap.put("sh1", "石浩");
        objectObjectHashMap.put("sh1", "石浩");
        objectObjectHashMap.put("sh3", "石浩");

        String bean = (String) objectObjectHashMap.get("sh111");
        System.out.println(bean);
        System.out.println(objectObjectHashMap);


    }
}
